package v2

import "gin-admin/service/v2/system"

type ServiceAppV2 struct {
	CaptchaService  system.CaptchaService
	UserService     system.UserService
	RoleService     system.RoleService
	MenuService     system.MenuService
	UserRoleService system.UserRoleService
	RoleMenuService system.RoleMenuService
}

func NewServiceApp() *ServiceAppV2 {
	return &ServiceAppV2{
		CaptchaService:  system.CaptchaService{},
		UserService:     system.UserService{},
		RoleService:     system.RoleService{},
		MenuService:     system.MenuService{},
		UserRoleService: system.UserRoleService{},
		RoleMenuService: system.RoleMenuService{},
	}
}
